using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.OleDb;
using System.Data;

namespace GiaoDien
{
    class SanPhamBUS
    {
        public static bool themNguoiDung(SanPhamDTO spDTO)
        {
            return SanPhamDAO.themNguoiDung(spDTO);
        }

        public static string LayMaSach(SanPhamDTO spDTO)
        {
            return SanPhamDAO.LayMaSach(spDTO);
        }
		
        public static DataTable LayChiTietSanPham(SanPhamDTO spDTO)
        {
            return SanPhamDAO.LayChiTietSanPham(spDTO);
        }
		
        public static bool CapNhapThongTin(SanPhamDTO spDTO)
        {
            return SanPhamDAO.CapNhapThongTin(spDTO);
        }

		public static bool ThemSP(SanPhamDTO spDTO)
		{
			return SanPhamDAO.ThemSP(spDTO);
		}
		
		public static bool CapNhapSP(SanPhamDTO spDTO)
		{
			return SanPhamDAO.CapNhapSP(spDTO);
		}
		
		public static bool XoaSanPham(SanPhamDTO spDTO)
		{
			return SanPhamDAO.XoaSanPham(spDTO);
		}
    }
}
